Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite of current esx_policejob #60

Open
wants to merge 21 commits into
base: dev
Choose a base branch
from

Conversation

Zykem
Copy link

@Zykem Zykem commented Feb 19, 2025

The current logic of the server-sided event esx_policejob:impoundVehicle located in server/vehicleActions.lua expects
the esx_garage script the MissionRowPD garage to exist. (in order to put the owner's vehicle back to a garage)
Since i am not sure if esx_garage will handle it, i will just provide the esx_garage "Garage Object" here for someone to create a PR?

Config.Garages = {
	MissionRowPD = {
		EntryPoint = {
			x = 472.008,
			y = -1078.668,
			z = 29.19,
		},
		SpawnPoint = {
			x = 459.71,
			y = -1080.382,
			z = 29.195,
			heading = 269.291,
		},
		Sprite = 357,
		Scale = 0.8,
		Colour = 3,
		ImpoundedName = "LosSantos"
	}
}

@Zykem Zykem force-pushed the rewrite/policejob branch from 706d0a1 to 6fe39b0 Compare February 19, 2025 04:45
Zykem added 12 commits February 19, 2025 05:53
Added locale files for translators (currently all in english)
Code improvements (avoiding useless GetPlayerFromId function call, re-using targetPlayer state instead)
This feature allows to add/remove weapons for specific grades. (Grades that can do this are configurable under Config.ArmoryManagementGrades)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 To be Discussed
Development

Successfully merging this pull request may close these issues.

1 participant